package com.ruoyi.db.domain.system.dto;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

public class AddUsers {
    private String phone;
    private Integer num;

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }
    @NotBlank(message = "手机号不能为空")
    @Size(min = 11, max = 11, message = "手机号长度不正确")
    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
}
